//
//  CaseIntroduceCell.m
//  e律师
//
//  Created by 韦淋 on 2017/5/18.
//  Copyright © 2017年 test. All rights reserved.
//

#import "CaseIntroduceCell.h"
#import "PublicClass.h"

@implementation CaseIntroduceCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self.contentView addSubview:self.bgView];
        [self.contentView addSubview:self.PersonalListLabel];
        [self.bgView addSubview:self.PerArticleLabel];
    }
    return self;
}

- (UIView *)bgView{
    if (!_bgView) {
        _bgView = [[UIView alloc] initWithFrame:CGRectMake(ADAPTATION_WIDTH(90), ADAPTATION_HEIGHT(18), ADAPTATION_WIDTH(200),ADAPTATION_HEIGHT(18))];
        _bgView.backgroundColor = [UIColor lightGrayColor];
        _bgView.layer.cornerRadius = 3;
        _bgView.layer.masksToBounds = YES;
    }
    return _bgView;
}
- (UILabel *)PersonalListLabel{
    if (!_PersonalListLabel) {
        _PersonalListLabel = [[UILabel alloc] initWithFrame:CGRectMake(ADAPTATION_WIDTH(10), ADAPTATION_HEIGHT(18), ADAPTATION_WIDTH(80), ADAPTATION_HEIGHT(18))];
        _PersonalListLabel.textColor = [UIColor blackColor];
        _PersonalListLabel.font = [UIFont systemFontOfSize:13/W];
        _PersonalListLabel.textAlignment = NSTextAlignmentLeft;
    }
    return _PersonalListLabel;
}
- (UILabel *)PerArticleLabel{
    if (!_PerArticleLabel) {
        _PerArticleLabel = [[UILabel alloc] initWithFrame:CGRectMake(ADAPTATION_WIDTH(5), ADAPTATION_HEIGHT(0), ADAPTATION_WIDTH(100), ADAPTATION_HEIGHT(18))];
        _PerArticleLabel.textColor = [UIColor blackColor];
        _PerArticleLabel.font = [UIFont systemFontOfSize:13/W];
        _PerArticleLabel.textAlignment = NSTextAlignmentLeft;
        
    }
    return _PerArticleLabel;
}

@end
